package com.mr.service;

import com.mr.utils.LuosimaoDuanxinUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName SmsService
 * @Description: TODO
 * @Author kun
 * @Date 2020/9/10
 * @Version V1.0
 **/
@Service
public class SmsService {

    @Autowired
    private LuosimaoDuanxinUtil luosimaoDuanxinUtil;

    public String sms(String code, String phone) {
        //调用螺丝帽工具列 发送手机短信
        return luosimaoDuanxinUtil.SendCode(phone,code);
    }
}
